// const path = require('path')
const { CleanWebpackPlugin } = require('clean-webpack-plugin')

const { merge } = require('webpack-merge')
const baseWebpackConfig = require('./webpack.base.conf.js')

const webpackConfig = merge(baseWebpackConfig, {
  mode: 'production',
  entry: {},
  output: {},
  plugins: [
    new CleanWebpackPlugin() // 清除输出目录中的文件
  ]
});

module.exports = webpackConfig
